// INTERNAL FUNCTIONS


// FUNCTIONS FOR GRAY IMAGE /////////////////////

BOOL G_Close		(PIMAGE, PMODULE);				// close operation
BOOL G_Dilate		(PIMAGE, PMODULE);				// dilate operation
BOOL G_Erose		(PIMAGE, PMODULE);				// erose operation
BOOL G_Open			(PIMAGE, PMODULE);				// open operation

/////////////////////////////////////////////////


// FUNCTIONS FOR BINARY IMAGE ///////////////////

BOOL B_Close		(PIMAGE, PMODULE);				// close operation
BOOL B_Dilate		(PIMAGE, PMODULE);				// dilate operation
BOOL B_Erose		(PIMAGE, PMODULE);				// erose operation
BOOL B_Open			(PIMAGE, PMODULE);				// open operation
BOOL B_ConnectComs	(PIMAGE, int, int);				// findout an area contains a specific point
BOOL B_ExtractEdge	(PIMAGE, PMODULE);				// findout the inner edge
BOOL B_FillArea		(PIMAGE, int, int);				// fill area
BOOL B_HitMiss		(PIMAGE, PMODULE, int, int);	// hit-miss operation
BOOL B_Thin			(PIMAGE);						// thin
BOOL B_Thick		(PIMAGE);						// thick

/////////////////////////////////////////////////